package game.breeze.message.codec.mina;

import game.breeze.message.AppMessage;

import org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory;

public class MinaProtocolCodecFactory extends DemuxingProtocolCodecFactory {
	public MinaProtocolCodecFactory() {
		addMessageDecoder(MinaMessageDecoder.class);

		addMessageEncoder(AppMessage.class, MinaMessageEncoder.class);
	}
}
